home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Bus
/
A
/
AciusTN8-92.cpt
/
AciusTN8-92
/
GraphicalButtonsƒ
/
ButtonPkg-US
/
ButtonPackage.Ext.rsrc
/
4Dte_26008
< prev
next >
Wrap
Text File
|
1992-10-10
|
708b
|
17 lines
This procedure sets the title, the font, the size and the style of the text of the button.
By default, the title is external area name without the first letter, in Chicago 12, plain.
The parameters are :
- External area name
- Title of the button
- Font number
- Size
- Style
The font number may be returned by bp_FontNumber(TheFontName).
Example :
bp_SET TITLE (Area;"OK";21;18;1)
Set Title of Area in "OK", with font number 21 (Helvetica), in size 18 and with style 1 (bold)
Note : If you pass -1 in one of the parameters font, size or style, the previous value will be kept.
Written by François Marchal, © ACI 1991. Source Code in MPW Pascal and complete explanations in ACI Technical Note 23, May 91